SUBMIT_FILE=final.tar.gz
PHOTOS_DIRECTORY=photos

X_MYVAR=Hello

default: worker server


server:
	ant -f manager/build.xml
	mkdir -p $(PHOTOS_DIRECTORY)
	
worker:
	make -C employee
	
clean:
	rm -f $(SUBMIT_FILE)
	rm -fr $(PHOTOS_DIRECTORY)
	ant -f manager/build.xml clean
	make -C employee clean


final: clean
	tar --exclude=.svn -czf $(SUBMIT_FILE) manager/ employee/ Makefile
	
final-svn:
	echo "bla"